]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
magnifier: Use own showSystemCursor() instead of set_pointer_visible()
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 7 Oct 2019 13:00:19 +0000 (15:00 +0200)
committerverdre <jonas@dressler.it>
Mon, 24 Feb 2020 10:31:08 +0000 (10:31 +0000)
We already have our own function to show the system cursor, use it!

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/993

js/ui/magnifier.js

index 844a1506cd575bf92712e376af13e0e3856386e1..8e149a130ed95af107c6c11ae7f1f7bc12412591 100644 (file)
@@ -169,7 +169,7 @@ var Magnifier = class Magnifier {
         // Make sure system mouse pointer is shown when all zoom regions are
         // invisible.
         if (!activate)
-            this._cursorTracker.set_pointer_visible(true);
+            this.showSystemCursor();
 
         // Notify interested parties of this change
         this.emit('active-changed', activate);